Promise.all = async (promises) => {
    let re = []
    try{
        for await(let promise of promises) re.push(await promise)
    }catch(e){
        return Promise.reject(e)
    }
    return re;
}
